#ifndef AVATARLUALEXER_H
#define AVATARLUALEXER_H

#include <QObject>
#include <Qsci/qscilexerlua.h>

class AvatarLuaLexer : public QsciLexerLua
{
    Q_OBJECT
public:
    explicit AvatarLuaLexer(QObject *parent = nullptr);
    const char* keywords(int set) const override;
    QStringList autoCompletionWordSeparators() const override;

private:
    static int handleKeyword(int, const char** keyword, void* lexer);

    QStringList keywordArray1;
    QStringList keywordArray2;

    std::string keywordSet1;
    std::string keywordSet2;
};

#endif // AVATARLUALEXER_H
